﻿using FineUIPro.EmptyProjectNet40.common;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace FineUIPro.EmptyProjectNet40
{
    public partial class WebForm1 : System.Web.UI.Page
    {
        //private booksEntities1 db = new booksEntities1();
        //  private addressbookEntities db = new addressbookEntities();
        FE.BLL.users userbll = new FE.BLL.users();
        protected string Name = "";
        protected void Page_Load(object sender, EventArgs e)
        {
     
            //插入测试

            //Stopwatch sw = new Stopwatch();
            //sw.Start();


            //for (int i = 0; i < 10; i++)
            //{
            //    FE.Model.users user = new FE.Model.users();

            //    user.id = System.Guid.NewGuid().ToString("N");
            //    user.Name = XingMing2.getRandomName();

            //    Random rad = new Random();
            //    user.gender = rad.Next(0, 2);
            //    user.DepartmentId = rad.Next(1, 4);
            //    user.TelNum = XingMing2.GetRandomTelNum();
            //    user.Callphone = XingMing2.GetRandomCallNum();
            //    user.CreateDate = System.DateTime.Now;

            //    userbll.Add(user);
              

            //}

        

            //TimeSpan ts2 = sw.Elapsed;

            //Name = "总消耗时间(毫秒)："+ ts2.TotalMilliseconds;
        }


    }
}